#pragma once

#include "../../plugin/base/entity.hh"
#include "../../protocol_files/example/generated_message_handler_register.hh"
#include "example_framework.hh"
#include "../../protocol_files/rpc/rpc_interface_generated.hh"

class Dummy : public AddressEntity, public ISample {
public:
    DECLARE_MEMBER_MSG_HANDLER(DummyEntityReq)
    
public:
    static EntityType staticType() {
        return 1;
    }

    virtual void echo(const DummyReq&, DummyAck&) override {
        verblog << "Entity echo request" << endlog;
    }
    virtual void echo1(const DummyReq&, DummyAck&) override {
        //verblog << "Entity echo1 request" << endlog;
    }
};
